package cn.wolfcode.crm.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * 员工高级查询参数对象
 * @author 丧彪
 */
@Setter
@Getter
public class KindQueryObject extends QueryObject{
        //封装格式
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        //输出格式
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date beginDate; //关键字查询
        //封装格式
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        //输出格式
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
        private Date endDate; //关键字查询

}
